package server.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("blood_sample_review")
public class BloodSampleReview {
    @TableId(type = IdType.AUTO)
    private Long id;     //id
    
    @TableField(value = "number")
    private String number;  //血液样本编号
    
    @TableField(value = "operator_number")
    private String operatorNumber;  //血液编号

    @TableField(value = "operate_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date operateTime;   //操作时间
    
    @TableField(value = "state")
    private String state;   //状态
}
